package cn.com.pusai.common.config;


public class SysProperties
{

	public static PusaiProperties Properties;
	public static String ROOTPATH = "";
	public static String ROOT_URL;
	public static final String LOGIN_OBJECT = "LOGIN_OBJECT";
	public static String PERSON_MODULE_LIST = "MODULE_LIST";
	public static String ALL_ORG_LIST = "ALL_ORG_LIST";
	public static final String LOGIN_VERIFY_CODE = "VERIFY_CODE";
	public static final String CUSTOM_PAGE_SIZE = "CUSTOM_PAGE_SIZE";
	public static final String APP_DATA_MODULE_MAP = "APP_DATA_MODULE_MAP";
	public static final int PAGESIZE;
	public static final int PAGESTYLE;
	public static final String DEBUG;
	public static final String OPEN_TYPE;
	public static String ADMIN_LOGIN;
	public static String ADMIN_ID;
	public static String ADMIN_PASSWORD;
	public static String MUST_LOGIN;
	public static String SPRING_CONTEXT_FILE;
	public static final String SYSTEM_NAME;

	public SysProperties()
	{
	}
	
	static 
	{
		Properties = PusaiProperties.getInstance("application.properties");
		PAGESIZE = Properties.getIntProperty("base.pageSize");
		PAGESTYLE = Properties.getIntProperty("base.pageStyle");
		DEBUG = Properties.getProperty("base.debug");
		OPEN_TYPE = Properties.getProperty("base.openType");
		ADMIN_LOGIN = Properties.getProperty("base.adminName");
		ADMIN_ID = Properties.getProperty("base.adminId");
		ADMIN_PASSWORD = Properties.getProperty("base.adminPassword");
		MUST_LOGIN = Properties.getProperty("base.mustLogin");
		SPRING_CONTEXT_FILE = Properties.getProperty("spring.context.file");
		SYSTEM_NAME = Properties.getProperty("base.system.name");
	}
}
